package cn.hill4j.tool.spring.std.dispatch.service;

import cn.hill4j.tool.spring.ext.dispatcher.Destination;
import cn.hill4j.tool.spring.ext.dispatcher.DsMethod;
import org.springframework.stereotype.Component;

@Destination
@Component
public class DispatchService {
    @DsMethod(group = "test",bizType = "t1")
    public String out1(String str){
        return "out1:"+str;
    }

    @DsMethod(group = "test",bizType = "t2")
    public String out2(String str){
        return "out2:"+str;
    }
}
